package com.uzai.console.dto.wechatwork.wxq.wxgorupblacklist.baseconfig;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 企业微信黑名单基础配置
 * @author liuqi
 * @date 2022年05月09日 17:34
 */
@ApiModel("企业微信黑名单基础配置参数")
public class WxqWorkBlacklistBaseConfigDto extends BaseDto {

    @ApiModelProperty("私有黑名单（0-不勾选；1-勾选")
    private Integer blackPrvFlag;
    @ApiModelProperty("全网黑名单（0-不勾选；1-勾选")
    private Integer blackPubFlag;
    @ApiModelProperty("加入黑名单成员，自动踢出该群（0-不勾选；1-勾选")
    private Integer autoKickFlag;
    @ApiModelProperty("加入黑名单成员，机器人不回应指令（0-不勾选；1-勾选")
    private Integer noRepayFlag;

    public Integer getBlackPrvFlag() {
        if(blackPrvFlag == null){
            blackPrvFlag = 0;
        }
        return blackPrvFlag;
    }

    public void setBlackPrvFlag(Integer blackPrvFlag) {
        this.blackPrvFlag = blackPrvFlag;
    }

    public Integer getBlackPubFlag() {
        if(blackPubFlag == null){
            blackPubFlag = 0;
        }
        return blackPubFlag;
    }

    public void setBlackPubFlag(Integer blackPubFlag) {
        this.blackPubFlag = blackPubFlag;
    }

    public Integer getAutoKickFlag() {
        if(autoKickFlag == null){
            autoKickFlag = 0;
        }
        return autoKickFlag;
    }

    public void setAutoKickFlag(Integer autoKickFlag) {
        this.autoKickFlag = autoKickFlag;
    }

    public Integer getNoRepayFlag() {
        if(noRepayFlag == null){
            noRepayFlag = 0;
        }
        return noRepayFlag;
    }

    public void setNoRepayFlag(Integer noRepayFlag) {
        this.noRepayFlag = noRepayFlag;
    }
}
